#ifndef NOTIFYINTERFACE_H
#define NOTIFYINTERFACE_H

#include <QString>
#include <QByteArray>

class NotifyInterface
{
public:
    NotifyInterface();

    bool operator ==(const NotifyInterface &ntf)
    {
        return (&ntf == this);
    }

public:
    virtual void onCall(const QString &cmd,const QByteArray &data){}
};

bool operator==(const NotifyInterface &t1,const NotifyInterface &t2)
{
    return &t1 == &t2;
}

#endif // NOTIFYINTERFACE_H
